package it.aekidna.onair.api
{
	import flash.events.IEventDispatcher;
	
	import it.aekidna.onair.vo.AirModuleConfig;

	public interface IRunnable extends IEventDispatcher
	{
		function set config( inValue : AirModuleConfig ) : void;
		function get config() : AirModuleConfig;
		
		function run( inArgs : Array = null ) : Boolean;
		function terminate( inMessage : String = "" ) : Boolean;
	}
}